package org.suk.dp.visitor;

/**
 * Description: <br/>
 * @version V1.0  2017/6/22 16:55  by 石冬冬(dongdong.shi@ucarinc.com) - Heil Hitler
 */
public class Client {
    public static void main(String[] args) {
        ObjectStructure o = new ObjectStructure();
        o.attach(new Man());
        o.attach(new Woman());

        Success v1 = new Success();
        o.display(v1);

        Failure v2 = new Failure();
        o.display(v2);

        Amativeness v3 = new Amativeness();
        o.display(v3);
    }
}
